package org.csc.sss.datacore.primary.repository;

import org.csc.sss.datacore.primary.model.SysRolePermission;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface SysRolePermissionRepository extends JpaRepository<SysRolePermission, String>, JpaSpecificationExecutor<SysRolePermission> {

   List<SysRolePermission> findByRoleIdIn(List<String> roleIds);


}
